package org.jsola.hr.service;

import org.jsola.core.service.IService;
import org.jsola.hr.dao.IAttendPunchRecordDAO;
import org.jsola.hr.dto.PunchCommonDTO;
import org.jsola.hr.entity.AttendPunchRecordDO;
import org.jsola.hr.vo.PunchCommonVO;
import org.jsola.user.core.TokenUser;

/**
 * 公共的考勤打卡
 *
 * @author wxz
 */
public interface IAttendPunchCommonService extends IService<IAttendPunchRecordDAO, AttendPunchRecordDO> {

    /**
     * 公共考勤
     *
     * @param punchCommonDTO 公共考勤打卡参数
     * @param tokenUser      当前用户
     * @return 公共考勤
     */
    PunchCommonVO punchCommon(PunchCommonDTO punchCommonDTO, TokenUser tokenUser);

}
